package com.k.ums.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @Description:
 * @Author: kt
 * @CreateTime: 2022/2/25
 */
@ConfigurationProperties(prefix = "token")
@Configuration
@Data
public class TokenConfig {
    /**
     * 请求头token标识
     */
    private String header;

    private String secret;

    private long expireTime;

    private long remainingTime;

}
